package com.sphd.emanu.activity.staff;

import android.content.Context;

import com.sphd.emanu.mvp.BasePresenter;
import com.sphd.emanu.mvp.BaseView;

import retrofit2.http.Query;

/**
 * MVPPlugin
 * 邮箱 784787081@qq.com
 */

public class StaffContract {
    interface View extends BaseView {

        void recRes(int res);
    }

    interface Presenter extends BasePresenter<View> {
        void deleteUser(Integer id);

        void addUser( String mobile
                , Integer oid
                , Integer roleid
                , String rolename
                , String logonname
                , String logonpwd
                , String username);

        void updateUser(Integer id
                , String mobile
                , Integer oid
                , Integer roleid
                , String rolename
                , String logonname
                , String logonpwd
                , String username);
    }
}
